<input class="text" type="text" id="{$name|id}" {if $element.readonly}readonly="readonly"{else}name="{$name}"{/if} value="{$element.value|escape}" />